package org.springsocial.dao;

import java.util.Date;
import java.util.List;
import org.springsocial.domain.Player;
import org.springsource.util.ActiveTweeter;


public interface PlayerDao {
	Player getPlayer(Long id);
	List<Player> getAll();
	List<Long> getPlayerIds(ActiveTweeter activeTweeter);
	Player getPlayerWithTweets(Long playerId, ActiveTweeter activeTweeter);
	Player getPlayerWithTweetsFromToDate(Long playerId, Date from, Date to);
	Player updatePlayer(Player player);
	Player savePlayer(Player player);
	Player deletePlayer(Player player);
}
